﻿package component.tree.service;

import java.util.List;

import component.tree.entity.Tree;
import component.tree.model.TreeModel;

public interface ITreeService extends IComponentService{
	public List getTreeDataBySql(String sql);
	
	//通过sql查询树型数据,返回List<Tree>
	public List getTreeDataBySql(String sql,Tree tree);
	
	/**
	 * 根据父节点id查找所有子节点
	 */
	public List getTreeDataByParentId(String parentId,TreeModel treeModel);
}
